package com.fq.modules.sys.user.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author 超chao
 * @Description 系统用户登录传输类
 * @Date 2024/10/18/周五 11:02
 * @Version 1.0
 */
@Data
@ApiModel(value="系统用户登录传输类", description="系统用户登录传输类")
public class SysUserLoginDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private Long id;

    @ApiModelProperty(value = "用户名", required=true)
    private String userName;

    @ApiModelProperty(value = "昵称", required=true)
    private String nickName;

    @ApiModelProperty(value = "头像", required=true)
    private String avatar;

    @ApiModelProperty(value = "真实姓名", required=true)
    private String realName;

    @ApiModelProperty(value = "身份证号", required=true)
    private String idCard;

    @ApiModelProperty(value = "邮箱", required=true)
    private String email;

    @ApiModelProperty(value = "手机", required=true)
    private String mobile;

    @ApiModelProperty(value = "状态", required=true)
    private Integer state;

    @ApiModelProperty(value = "角色类型", required=true)
    private Integer roleType;

    @ApiModelProperty(value = "角色", required=true)
    private String role;

    @ApiModelProperty(value = "权限列表", required=true)
    private List<String> permissions;

    @ApiModelProperty(value = "登录令牌", required=true)
    private String token;

    @ApiModelProperty(value = "是否有密码")
    private Boolean isHavePassword;
}